package org.example.service;

import org.example.model.Book;

import java.util.List;

public interface BookService {
    int addBook(Book book);

    int deleteBook(int id);

    List<Book> getBooksByTypeAndName(int btype, String name);


}
